/*
 * @描述: 
 * @创建者: kilomChou
 * @Date: 2020-10-20 21:39:22
 * @最后编辑: kilomChou
 * @LastEditTime: 2021-05-03 13:36:56
 */

import TsXlsxVoBuilder from "./builder/TsXlsxVoBuilder";
import path from "path"
import fs from "fs"
import { BinaryReader, ValueType, ObjDecoder } from "k-coder"
import { loadData, VTest, VTest_cfg } from "./out/XlsxVo";


// new TsXlsxVoBuilder(path.resolve(__dirname, "../xlsx"), path.resolve(__dirname, "./out"), path.resolve(__dirname, "./out")).build();


// loadData(fs.readFileSync(path.resolve(__dirname, "./out/data.bin")))


class Test {
    static _ins: Test
    static get ins() {
        console.log(1);
        let ins = this._ins = new Test();
        Object.defineProperty(Test, "ins", { value: ins })
        return ins;
    }
}

Test.ins
Test.ins
Test.ins